package com.bank.backend.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 用户实体类
 */
@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer userId;
    
    private String userName;

    private String pid;
    
    private String telephone;
    
    private String address;
    
    private String password;
    
    private String adminAccount;
    
    private Boolean isAdmin;
    
    private LocalDateTime createTime;
    
    private LocalDateTime updateTime;

    @TableLogic
    private Integer isDeleted;

}